package com.project.demo.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 活动任务：(ActivityTasks)表实体类
 *
 */
@TableName("`activity_tasks`")
@Data
@EqualsAndHashCode(callSuper = false)
public class ActivityTasks implements Serializable {

    // ActivityTasks编号
    @TableId(value = "activity_tasks_id", type = IdType.AUTO)
    private Integer activity_tasks_id;

    // 任务标题
    @TableField(value = "`task_title`")
    private String task_title;
    // 封面
    @TableField(value = "`cover`")
    private String cover;
    // 发布日期
    @TableField(value = "`release_date`")
    private Timestamp release_date;
    // 任务内容
    @TableField(value = "`task_content`")
    private String task_content;

    // 点击数
    @TableField(value = "hits")
    private Integer hits;









    // 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;







}
